<?php
//数据库配置
define('DB_HOST', '127.0.0.1');
define('DB_USER', 'shaoyunfeng');
define('DB_PWD', '12345678');
define('DB_NAME', 'bbs');
define('DB_PORT', 3306);
/* my_follow (uids：我关注的、cids：收藏的帖子、mids：收藏的版面)
   follow_me (uids：关注我的、zids：管理大版、mids：管理小版)
*/
//log路径配置
define('LOG_PATH', $_SERVER['DOCUMENT_ROOT'].'/nsbbs/log');

//邮件配置
define('CHARSET', 'UTF-8');
define('MAIL_HOST', 'smtp.qq.com');
define('MAIL_PORT', 465); //ssl 465 非ssl 25
define('USERNAME', '348433174@qq.com');
define('PASSWORD', 'feaxxobfuohlbhcc');
define('FROM', '青柠BBS');

//系统配置
define('AUTO_LOGIN_TIME', 604800);
define('RETIME', 3);
define('PHOTO_PATH', 'public/uploads/photo/');
define('IMG_PATH', 'public/uploads/img/');
define('FILE_PATH', 'public/uploads/file/');
define('PAGE_SIZE', 15); //分页大小
define('PAGE_BTN_CNT', 5); //分页按钮数
define('EXP_FILE_PATH', 'public/expression/');
define('SA_PATH', dirname(dirname(__FILE__)));